<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/10/11
 * Time: 12:48
 */
namespace app\common\model;
use think\Model;
class Message extends Model{
    protected $autoWriteTimestamp = true;
    protected $updateTime = false;
   
    public function add($data) {

        //$data['create_time'] = time();
        $result =  $this->save($data);
        //echo $this->getLastSql();exit;
        return $result;
    }
}